A command line interface otherwise known as a (CLI) is a user interface to a computer's operating system where a user responds to a visual prompt from inputting text in a command on a specified line, receives a response back from the system, and then enters another command, and so forth.
Typed commands can be acted on immediately if typed in a Command Prompt window or the Run dialog. Alternately, if commands are saved in a script, such as a batch file .bat, they will be performed when the script runs. A saved script file allows one to run a repeated task easily and can even be run by Task Scheduler.

Command Prompt window
Command Prompt window
Command Prompt window


Run dialog
Run dialog
Run dialog